package book;

public interface BookDao {
	//添加一本书
	int insert(Book book);
	//更新一本书
	int update(Book book);
	//根据bookId删除一本书
	int delete(int bookId);
	//根据bookId查询一本书
	Book selectById(int bookId);
	//查询所有书
	Book[] selectAll();
	//根据bookName查询一本书
	Book selectByName(String name);
}
